cssmatcher: Use widget path's state
authorBenjamin Otte <otte@redhat.com>
Sat, 19 Jul 2014 21:26:12 +0000 (23:26 +0200)
committerBenjamin Otte <otte@redhat.com>
Sat, 19 Jul 2014 21:42:39 +0000 (23:42 +0200)
commit19eb1614de30042ae39ca95c854803e03f3a6bae
treef8ede6598c4997902c4e28d04d1ac7cc2601f548
parentbe09e0ed4ac3c98d2973f98e10d96f86832fb49f
cssmatcher: Use widget path's state

Don't take a state when constructing the CSS matcher. Instead, rely on
the newly introduced state in the widget path.

This way, the state can be queried not only on the first element, but on
all elements of the widget path.
gtk/gtkcssmatcher.c
gtk/gtkcssmatcherprivate.h
gtk/gtkcssprovider.c
gtk/gtkstylecontext.c